package com.wd.health.view.activity.mine;

import android.os.Bundle;
import android.view.View;

import com.baidu.idl.face.platform.ui.CollectionSuccessActivity;
import com.wd.health.app.App;

/**
 * @ProjectName:shopmall
 * @Package:com.wd.health.view.activity.mine
 * @ClassName:CollectionSuccessExpActivity
 * @UpdateUser: 裴童童
 * @date: 2020/12/25
 */
public class CollectionSuccessExpActivity extends CollectionSuccessActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    // 回到首页
    public void onReturnHome(View v) {
        super.onReturnHome(v);
        if ("FaceLivenessExpActivity".equals(mDestroyType)) {
            App.destroyActivity("FaceLivenessExpActivity");
        }
        if ("FaceDetectExpActivity".equals(mDestroyType)) {
            App.destroyActivity("FaceDetectExpActivity");
        }
        finish();
    }
}
